Merge arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen-tmp.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen.bk-smp-public
}
if ( unlikely(success_count != NULL) )
- put_user(count, success_count);
+ put_user(i, success_count);
+ UNLOCK_BIGLOCK(d);
return rc;
}
trap_info_t cur;
trap_info_t *dst = current->thread.traps;
+ LOCK_BIGLOCK(current->domain);
+
for ( ; ; )
{
+ hypercall_may_preempt(__HYPERVISOR_set_trap_table, 1, traps);
+
if ( copy_from_user(&cur, traps, sizeof(cur)) ) return -EFAULT;
if ( cur.address == 0 ) break;